#include <stdio.h>


typedef struct student {
    int num;
    char name[20];
    char sex;
} Student, *pstu;

int main() {
    Student s = {1001, "hjx", 'M'};
    printf("%d %s %c", s.num, s.name, s.sex);
    pstu p = &s;
    printf("\n");
    printf("%d %s %c", p->num, p->name, p->sex);
//    printf("Hello, World!\n");
    return 0;
}
